:root {
  --black: #010101;
  --orange: #e85300;
  --white: #fffcea;
  --carbon: #292929;
  --blackOP1: #fffcea42;
  --main: 0.8rem;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  background-color: var(--black);
  transition: 0.2s;
}

/* p,
ol,
ul,
h1,
h2,
h3,
h4 {
  font-weight: 300;
  color: var(--white);
} */

body {
  opacity: 0;
}

a,
p,
ol,
ul,
li {
  line-height: 1.2;
}

.flex {
  display: flex;
}

.column {
  flex-direction: column;
}

.row {
  flex-direction: row;
}

.move {
  height: 20px;
  width: 150px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  z-index: 1000;
  display: none;
  color: var(--white);
}

.display {
  display: block;
}

.hide {
  display: none;
}

.menu {
  position: fixed;
  min-width: 70px;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  color: var(--white);
  display: flex;
  z-index: 10000;
}

.menu .menu-links {
  margin: 5px 30px 0px 0px;
}

.menu .menu-links a p {
  text-align: right;
  margin: 5px 0px 0px 0px;
  font-size: var(--main);
  cursor: pointer;
}

@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.logo {
  -webkit-animation: rotating 20s linear infinite;
  -moz-animation: rotating 20s linear infinite;
  -ms-animation: rotating 20s linear infinite;
  -o-animation: rotating 20s linear infinite;
  animation: rotating 20s linear infinite;
  width: 70px;
  text-align: right;
}

.intro {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--white);
  z-index: 10;
  background-color: none;
  font-size: var(--main);
  width: 250px;
}

.mobile {
  display: none;
  color: var(--white);
  font-size: var(--main);
  text-align: right;
}

.project__links {
  position: absolute;
  bottom: 80px;
  right: 100px;
  width: 170px;
  opacity: 0;
  transition: 0.3s;
  opacity: 0.1;
  z-index: 0;
}

.home,
.about,
.archive {
  position: relative;
  z-index: 1;
}

nav.menu div.menu-links a.here p {
  opacity: 0.5;
}

.project__links:hover {
  opacity: 1;
}

.project__links a p:hover,
.menu-links a p:hover {
  padding-right: 20px;
}

.project__links a.here p:hover,
.menu-links a.here p:hover {
  padding-right: 0px;
}

.menu .project__links:hover ~ .home p,
.menu .project__links:hover ~ .about p,
.menu .project__links:hover ~ .archive p {
  opacity: 0.5;
}

.project__links.contacts {
  display: none;
}

@media (max-width: 900px) {
  .mobile {
    display: block;
    z-index: 1100;
    position: relative;
  }
  .menu {
    /* background-color: #00000070; */
    padding: unset;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-width: 50px;
  }

  .menu-links__box {
    display: none;
    top: -50px;
    left: 0;
    opacity: 0;
    transition: 0.3s;
  }

  .menu .menu-links {
    margin: unset;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: var(--orange);
    bottom: -20px;
    right: -20px;
    flex-direction: column;
  }

  .logo .st0 {
    width: 60px;
  }

  .project__links {
    position: unset;
    bottom: unset;
    right: unset;
    width: unset;
    opacity: 1;
    bottom: 20px;
    left: 0;
    width: 100%;
    margin-top: 150px;
  }

  .menu-links div.project__links a p {
    color: var(--white);
    text-align: left;
    margin: 10px 20px 0px 20px;
    border: solid var(--white);
    border-width: 0px 0px 2px 0px;
    font-weight: 600;
  }

  .menu-links div.project__links.contacts a p {
    margin: 10px 20px 0px 20px;
    border: none;
    font-weight: 400;
    text-decoration: underline;
  }

  .project__links.contacts {
    display: block;
    position: absolute;
  }

  nav.menu div.menu-links a.menu-link p {
    font-size: 3rem;
    text-align: left;
    margin: 20px 20px 0px 20px;
    border: solid var(--black);
    border-width: 0px 0px 5px 0px;
    color: var(--black);
    font-weight: 600;
  }

  .open__menu {
    padding: 20px 0px 20px 0px;
  }

  .button__close-menu {
    opacity: 0.3;
  }
  .ham {
    height: 2px;
    margin-bottom: 5px;
    background-color: var(--orange);
    transition: 0.3s;
  }

  .home,
  .about,
  .archive {
    top: 110px;
  }
}
